package com.pay;

/**
 * @author cxt
 * @date 2021/11/20
 */
public class AlipayConfig {
    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号,开发时使用沙箱提供的APPID，生产环境改成自己的APPID
    public static String APP_ID = "2021000118652179";

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String APP_PRIVATE_KEY = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCurNMo4AdLzKibsfGiz469NmXaGgypz2LBcKUwyXG4Cn0UAGDnxX+7+sshGyxMYrEczETZ8rRR6d7M4ZzyFGeHZN4aHCsUT7MyIVu+OtUpZr+H4zVllKbia7rCZgkWd8/r+kpxY1ikFhxWpu+hPi32ylA+9FdKPXSJrOq5U2iOGkJrKSPHWADlT2fI/x/y1ZiTOq8U251tGYgGkQRzUmd4HMBel+/Ow3KohqzMhlsHUnheeT73golpNJEWeilwoBJCsWutmcGw1TrS8QXRO/YkyqjdB7UB8EivaQjviqnHIqk63EJnjXbCCaHDJBcrzz7ds351fuYnIwePNMDgAPTDAgMBAAECggEADuCtg5fBR1WBLvGzERj4oWkWt8LsPTJqyOsdRtCBnRlXmfKGTndl787mqkU0OrVVPIyxeJbRgQCYd37n7T6Lqt6OhE7N5Ib9TlHFDKjaKxKTUbGqhKJqrHJcj948++rsjL7exFWf4Sn48/B4DJXNOG3288XAAZTGbkuKGoreJuw1Y+x2CrELWjV2R6fcPoinoSJ+/3dx+M66Un8B+uuwJ4G1loCF3flQtz3PNzkmcDE6IvLy2ml+yByinthS1lb31wJ+v3Y/wgv9U/vF44y/oFTSY4SkLdpgbFXNCctnoe5iQ+emLCK/7pIb15PnNAg3eK4g+HhmAMVgCTNsqyvSEQKBgQDthD0mUf9EwDnSfSKOaaxKJDxHIRUEaGADPfWeoSBsZ1jc+QUqcQV41qShQLmJKOnELMZxtUrcreVS+/+l+LiI6KYRFKPfvWT1+yab3gq6uxPgPpR9xbxo4M1QZnO8nkwBjwJGm2JXdNfrcmZL41hR1oTRlhzCo7FgO+w8gulBVQKBgQC8RKuCloAsik9BOfgXESVa02zVvzKsc8UGJjIT0to+bWl9kviookwGFdNwq22I4xosb3hiEDZV+reXGVWnwqr9qHPWhI1ajbqX8hCWjwBKIYHThLhjm0tXv6Wn3EMp0bNVG2Qdj8WsT8K1OqXRhfIiGELe1ZkPMF7/K4AEA+o9twKBgBgnr7Ra+HP8fKTsdvw2wP/VSZAOTD3jg4gw3+7fAhYkOIRYiu7zCZRtd9ayZ2wMjiGWUCQ2RMPGp6DV4fz2G4ZI6sKn77aMY10kyptlbH/rEK1oj99uoaek3RyFHtYa3y31ZkzZ9plgV6kpPEARgeToxR8vfgNJdHuN/It24NP1AoGAZQKK6qOI3VzPrPVHMEkYu6RX7k6JB5GNkgEIOS6VvYzCXoduNjvtgg5PxVGUkS8XqeOcuTBtlq/PtJf5JusBBttMWzn/BSiphkBvufe7dgqIN04sB/UX9VpzrJ42wscp6m2px1qN+idJFicDNGkjQju2FQyQ9F9FeK6EHqNjF/0CgYAt+8SGNaI/WBN0htkxuGyJs+/idgv+lwG7GEgIDX8y/kP9nn57Grh04tpKFwDN1ctTbv4t81uNeryf9eOlKYinhG3yGbYzpb8bp/jRksvwxcybYpDPhDV/1aKq35RV4gwz+89JYGIuDPLmxuQFyDtEOD72T7arOzikQpdQVEvpcQ==";

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhiWEgdjid1gy2nqKcNcoJTr7f9om6WNI6qaNnv0KW3vjjBHnrgnZIGHuI3XFpPyii0rtkVpRTEZcD1JBq21rPfPmS3EW7AVqdjPWTuz/7EgH2OvR4Sk/pvS9Lg7IqnJwG29r43WYwQ22x+K+CZSzTKmf5Vzk8m2cKumogvTyNf26+c/SIYVn47Qp6sH8iBCPScZUjOODe6V2m3XuxPYB0VYnNBLPA/IE01nnm+o7rVw9ZQvHaCfDU8Pu075yG+RrILZWnGoe1xMaf9baoCezVjTEwgtCuy2HRS/fEughTFXMh87lrVjllomy7KsFvK/C0ZzZLQVPpJRdYVuIcwzIlQIDAQAB";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String CHARSET = "utf-8";

    // 支付宝网关，这是沙箱的网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    // 服务器异步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://localhost:2016/tool/pay/ali/callback";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问(其实就是支付成功后返回的页面)
    public static String return_take_url = "http://localhost:2016/index"; // TODO 预约取号支付回跳
    public static String return_url = "http://localhost:2016/tool/pay/ali/callback"; // TODO 直接挂号支付回跳


    // 支付宝网关
    // public static String log_path = "C:\\";
}
